import { NgModule } from '@angular/core';
import { SharedModule } from '@shared/shared.module';
import { BannerRoutingModule } from './banner-routing.module';
import { AddComponent } from './add/add.component';
import { ListComponent } from './list/list.component';
import {BannerService} from './banner.service';

const COMPONENT_NOROUNT = [];

@NgModule({
  imports: [
    SharedModule,
    BannerRoutingModule
  ],
  declarations: [
      ...COMPONENT_NOROUNT,
      AddComponent,
      ListComponent
  ],
    providers: [
        BannerService
    ],
  entryComponents: COMPONENT_NOROUNT
})
export class BannerModule { }
